package com.cxc.factory;

/**
 * 工程方法测试
 */
public class FruiteFactoryMethodTest {

    public static void main(String[] args) {

        FruitFactoryMethod  fm = new AppleFactory();
        fm.getFruite().get();

        FruitFactoryMethod  fb = new BananaFactory();
        fb.getFruite().get();

    }
}
